3.1.91 \(\int \frac {(a+b x)^5}{x^8} \, dx\) [91]

Optimal. Leaf size=36 \[ -\frac {(a+b x)^6}{7 a x^7}+\frac {b (a+b x)^6}{42 a^2 x^6} \]

[Out]

-1/7*(b*x+a)^6/a/x^7+1/42*b*(b*x+a)^6/a^2/x^6

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {47, 37} \begin {gather*} \frac {b (a+b x)^6}{42 a^2 x^6}-\frac {(a+b x)^6}{7 a x^7} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x)^5/x^8,x]

[Out]

-1/7*(a + b*x)^6/(a*x^7) + (b*(a + b*x)^6)/(42*a^2*x^6)

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n +
1)/((b*c - a*d)*(m + 1))), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 47

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n + 1
)/((b*c - a*d)*(m + 1))), x] - Dist[d*(Simplify[m + n + 2]/((b*c - a*d)*(m + 1))), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rubi steps

\begin {align*} \int \frac {(a+b x)^5}{x^8} \, dx &=-\frac {(a+b x)^6}{7 a x^7}-\frac {b \int \frac {(a+b x)^5}{x^7} \, dx}{7 a}\\ &=-\frac {(a+b x)^6}{7 a x^7}+\frac {b (a+b x)^6}{42 a^2 x^6}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 67, normalized size = 1.86 \begin {gather*} -\frac {a^5}{7 x^7}-\frac {5 a^4 b}{6 x^6}-\frac {2 a^3 b^2}{x^5}-\frac {5 a^2 b^3}{2 x^4}-\frac {5 a b^4}{3 x^3}-\frac {b^5}{2 x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)^5/x^8,x]

[Out]

-1/7*a^5/x^7 - (5*a^4*b)/(6*x^6) - (2*a^3*b^2)/x^5 - (5*a^2*b^3)/(2*x^4) - (5*a*b^4)/(3*x^3) - b^5/(2*x^2)

________________________________________________________________________________________

Mathics [A]
time = 2.14, size = 57, normalized size = 1.58 \begin {gather*} \frac {-6 a^5-35 a^4 b x-84 a^3 b^2 x^2-105 a^2 b^3 x^3-70 a b^4 x^4-21 b^5 x^5}{42 x^7} \end {gather*}

Antiderivative was successfully verified.

[In]

mathics('Integrate[(a + b*x)^5/x^8,x]')

[Out]

(-6 a ^ 5 - 35 a ^ 4 b x - 84 a ^ 3 b ^ 2 x ^ 2 - 105 a ^ 2 b ^ 3 x ^ 3 - 70 a b ^ 4 x ^ 4 - 21 b ^ 5 x ^ 5) /
 (42 x ^ 7)

________________________________________________________________________________________

Maple [A]
time = 0.09, size = 58, normalized size = 1.61

method result size
norman \(\frac {-\frac {1}{2} b^{5} x^{5}-\frac {5}{3} a \,b^{4} x^{4}-\frac {5}{2} a^{2} b^{3} x^{3}-2 a^{3} b^{2} x^{2}-\frac {5}{6} a^{4} b x -\frac {1}{7} a^{5}}{x^{7}}\) \(57\)
risch \(\frac {-\frac {1}{2} b^{5} x^{5}-\frac {5}{3} a \,b^{4} x^{4}-\frac {5}{2} a^{2} b^{3} x^{3}-2 a^{3} b^{2} x^{2}-\frac {5}{6} a^{4} b x -\frac {1}{7} a^{5}}{x^{7}}\) \(57\)
gosper \(-\frac {21 b^{5} x^{5}+70 a \,b^{4} x^{4}+105 a^{2} b^{3} x^{3}+84 a^{3} b^{2} x^{2}+35 a^{4} b x +6 a^{5}}{42 x^{7}}\) \(58\)
default \(-\frac {5 a \,b^{4}}{3 x^{3}}-\frac {5 a^{2} b^{3}}{2 x^{4}}-\frac {b^{5}}{2 x^{2}}-\frac {2 a^{3} b^{2}}{x^{5}}-\frac {5 a^{4} b}{6 x^{6}}-\frac {a^{5}}{7 x^{7}}\) \(58\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^5/x^8,x,method=_RETURNVERBOSE)

[Out]

-5/3*a*b^4/x^3-5/2*a^2*b^3/x^4-1/2*b^5/x^2-2*a^3*b^2/x^5-5/6*a^4*b/x^6-1/7*a^5/x^7

________________________________________________________________________________________

Maxima [A]
time = 0.25, size = 57, normalized size = 1.58 \begin {gather*} -\frac {21 \, b^{5} x^{5} + 70 \, a b^{4} x^{4} + 105 \, a^{2} b^{3} x^{3} + 84 \, a^{3} b^{2} x^{2} + 35 \, a^{4} b x + 6 \, a^{5}}{42 \, x^{7}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^5/x^8,x, algorithm="maxima")

[Out]

-1/42*(21*b^5*x^5 + 70*a*b^4*x^4 + 105*a^2*b^3*x^3 + 84*a^3*b^2*x^2 + 35*a^4*b*x + 6*a^5)/x^7

________________________________________________________________________________________

Fricas [A]
time = 0.29, size = 57, normalized size = 1.58 \begin {gather*} -\frac {21 \, b^{5} x^{5} + 70 \, a b^{4} x^{4} + 105 \, a^{2} b^{3} x^{3} + 84 \, a^{3} b^{2} x^{2} + 35 \, a^{4} b x + 6 \, a^{5}}{42 \, x^{7}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^5/x^8,x, algorithm="fricas")

[Out]

-1/42*(21*b^5*x^5 + 70*a*b^4*x^4 + 105*a^2*b^3*x^3 + 84*a^3*b^2*x^2 + 35*a^4*b*x + 6*a^5)/x^7

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 61 vs. \(2 (29) = 58\).
time = 0.19, size = 61, normalized size = 1.69 \begin {gather*} \frac {- 6 a^{5} - 35 a^{4} b x - 84 a^{3} b^{2} x^{2} - 105 a^{2} b^{3} x^{3} - 70 a b^{4} x^{4} - 21 b^{5} x^{5}}{42 x^{7}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**5/x**8,x)

[Out]

(-6*a**5 - 35*a**4*b*x - 84*a**3*b**2*x**2 - 105*a**2*b**3*x**3 - 70*a*b**4*x**4 - 21*b**5*x**5)/(42*x**7)

________________________________________________________________________________________

Giac [A]
time = 0.00, size = 65, normalized size = 1.81 \begin {gather*} \frac {-21 x^{5} b^{5}-70 x^{4} b^{4} a-105 x^{3} b^{3} a^{2}-84 x^{2} b^{2} a^{3}-35 x b a^{4}-6 a^{5}}{42 x^{7}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^5/x^8,x)

[Out]

-1/42*(21*b^5*x^5 + 70*a*b^4*x^4 + 105*a^2*b^3*x^3 + 84*a^3*b^2*x^2 + 35*a^4*b*x + 6*a^5)/x^7

________________________________________________________________________________________

Mupad [B]
time = 0.07, size = 57, normalized size = 1.58 \begin {gather*} -\frac {\frac {a^5}{7}+\frac {5\,a^4\,b\,x}{6}+2\,a^3\,b^2\,x^2+\frac {5\,a^2\,b^3\,x^3}{2}+\frac {5\,a\,b^4\,x^4}{3}+\frac {b^5\,x^5}{2}}{x^7} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x)^5/x^8,x)

[Out]

-(a^5/7 + (b^5*x^5)/2 + (5*a*b^4*x^4)/3 + 2*a^3*b^2*x^2 + (5*a^2*b^3*x^3)/2 + (5*a^4*b*x)/6)/x^7

________________________________________________________________________________________